<template>
    <div style="margin-bottom: 20px;">
      <el-button type="primary" @click="oprate">
        <el-icon :size="16">
          <i-ep-Edit />
        </el-icon>
        <slot></slot>
      </el-button>
    </div>
  </template>
  <script setup>
  import { defineEmits } from 'vue'
  const emits = defineEmits(['add'])
  const oprate = () => {
    emits('add')
  }
  </script>